package com.taol.tab_05_indent_fragment;

import com.taol.ataoloveapp.R;
import com.taol.tab_05_indent.GetIndentInfo5;
import com.taol.tab_05_indent.IndentAdapter5;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;

public class FragmentTab5 extends Fragment{
	
	private ListView lv5;
	private IndentAdapter5 myIndentAdapter5;
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.indent_tab5, container,false);
		
		GetIndentInfo5.getIndentInfo(getActivity());
		myIndentAdapter5 = new IndentAdapter5(GetIndentInfo5.lvIndents,getActivity());
		lv5 = (ListView)view.findViewById(R.id.indentLv5);
		lv5.setAdapter(myIndentAdapter5);
		
		return view;
	}

}
